package cn.tedu.property_management_system.service;

import cn.tedu.property_management_system.entity.House;
import cn.tedu.property_management_system.utils.JsonPage;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface IHouseService {

    List<House> search(String room);

    List<House> selectList();

    int insertUser( House house);

    House selectUser( House house);


    void update( House house);

    void delete( House house);

    int deletes( List<House> list);

    List<String> getHouseRoom();


    JsonPage<House> pageSelect(Integer pageSize, Integer pageIndex);



}
